package com.jindu.kernel.wxpay;

/**
 * @author jarvischang
 */
public class Constant {

    /**
     * 域名
     */
    public static final String DOMAIN = "https://api.xiaozuzu.top:8080";

    /**
     * 小程序的id,测试的wx710d792d60f02321
     */
    public static final String APP_ID = "wxf01958c0cd4d5a9e";

    /**
     * 小程序的id,78374896 的微信
     */
    public static final String APP_ID2 = "wx710d792d60f02321";

    /**
     * 小程序的 app secret
     */
    public static final String APP_SECRET = "831696f1bf15f7848c157d9ef454fc97";

    /**
     * 小程序的 app secret ，78374896 的微信
     */
    public static final String APP_SECRET2 = "ef88f23ca32d8a0976a77185713979eb";


    /**
     *  app 秘钥，操作密码 xiaozuzu@2018
     */
    public static final String APP_KEY = "b5bf7997a03d11e8875370106faece76";

    /**
     * 商户号
     */
    public static final String MCH_ID = "1511197971";

    /**
     * 支付统一下单接口
     */
    public static final String URL_UNIFIED_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";


    /**
     * 支付的回调地址
     */
    public static final String URL_NOTIFY = Constant.DOMAIN + "/finance/WxPay/wxNotify";

    /**
     * 时间格式化
     */
    public static final String TIME_FORMAT = "yyyyMMddHHmmss";

    /**
     * 单位是day
     */
    public static final int TIME_EXPIRE = 2;
}
